#ifndef CAMERA_AREA_H
#define CAMERA_AREA_H

class CSceneObject;

class CameraArea
{
public:
	CameraArea();
	~CameraArea(){};

	void InitFromOneOfContrlPointObj(CSceneObject* pCtrlPointObj);
	//void InitFromAreaObj(CSceneObject* pCamAreaObj);

	bool IsValid() { return m_isValid; }

	void SnapTargetOffsetToNearEdge();

private:
	CSceneObject* m_ctrlPointObjs[4];
	int m_curEditCtrlPointIdx;
	bool m_isValid;
};

#endif //CAMERA_AREA_H